﻿using System;
using System.Collections.Generic;

namespace System.Net.DnsToolkit.Packet {
    /// <summary>
    /// <pre>
    /// +---------------------+
    /// |        Header       |
    /// +---------------------+
    /// |       Question      | the question for the name server
    /// +---------------------+
    /// |        Answer       | RRs answering the question
    /// +---------------------+
    /// |      Authority      | RRs pointing toward an authority
    /// +---------------------+
    /// |      Additional     | RRs holding additional information
    /// +---------------------+
    /// </pre>
    /// </summary>
    public interface IMessage {

        List<IRR> Additionals { get; set; }
        List<IRR> Answers { get; set; }
        List<IRR> Authorities { get; set; }
        IHeader Header { get; set; }
        List<IQuestion> Questions { get; set; }
    }
}
